package cn.com.czpb.client.model.jpush;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Administrator on 2017/7/20.
 */

public class JpushBean {

    /**
     * atype : 1
     * data : {"json_url":"http://120.92.18.161/cms_json/qls/News/Content/201707/20/112","nid":"112","tid":"2","type":"1"}
     */

    @SerializedName("atype")
    private String atype;
    @SerializedName("rvalue")
    private String rvalue;
    @SerializedName("data")
    private DataEntity data;

    public void setAtype(String atype) {
        this.atype = atype;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getAtype() {
        return atype;
    }

    public String getRvalue() {
        return rvalue;
    }

    public void setRvalue(String rvalue) {
        this.rvalue = rvalue;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity {
        /**
         * json_url : http://120.92.18.161/cms_json/qls/News/Content/201707/20/112
         * nid : 112
         * tid : 2
         * type : 1
         */

        @SerializedName("json_url")
        private String jsonUrl;
        @SerializedName("nid")
        private String nid;
        @SerializedName("tid")
        private String tid;
        @SerializedName("type")
        private String type;
        @SerializedName("rtype")
        private String rtype;
        @SerializedName("voteflag")
        private String voteflag;
        @SerializedName("rvalue")
        private String rvalue;
        @SerializedName("newsurl")
        private String newsurl;
        @SerializedName("title")
        private String title;

        public void setJsonUrl(String jsonUrl) {
            this.jsonUrl = jsonUrl;
        }

        public void setNid(String nid) {
            this.nid = nid;
        }

        public void setTid(String tid) {
            this.tid = tid;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getJsonUrl() {
            return jsonUrl;
        }

        public String getNid() {
            return nid;
        }

        public String getTid() {
            return tid;
        }

        public String getType() {
            return type;
        }

        public String getRtype() {
            return rtype;
        }

        public void setRtype(String rtype) {
            this.rtype = rtype;
        }

        public String getVoteflag() {
            return voteflag;
        }

        public void setVoteflag(String voteflag) {
            this.voteflag = voteflag;
        }

        public String getRvalue() {
            return rvalue;
        }

        public void setRvalue(String rvalue) {
            this.rvalue = rvalue;
        }

        public String getNewsurl() {
            return newsurl;
        }

        public void setNewsurl(String newsurl) {
            this.newsurl = newsurl;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
